package com.my.study.endpoint;

import org.springframework.boot.actuate.health.AbstractHealthIndicator;
import org.springframework.boot.actuate.health.Health;
import org.springframework.stereotype.Component;

/**
 * 自定义健康endpoint
 *
 * @author Carlos
 * @version 1.0.0
 * @date 2021/12/8 23:32
 */
@Component("myCustomHealthIndicator")
public class MyCustomHealthIndicator extends AbstractHealthIndicator {


    @Override
    protected void doHealthCheck(Health.Builder builder) throws Exception {


    }
}
